{"project":"nord_carousel","branch":"main","commit":"09a80ead02eaf16e8281692ef20687ee60b85c81","component":{"name":"Home","nodes":{"root":{"tag":"div","type":"element","children":["Z6tVrHuTv7k0cK4wvaJrt"],"classes":{"bTqdax":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-LNMdjpCNR1Sxsbsee2md":{"tag":"p","type":"element","children":["slcSWKPpLQAS8a4uazurY","eqCwTNLYLPKEyBJ-Cc8TM"],"classes":{"GSRxB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2EW9PRR8siWEXO_wjoJFb":{"tag":"div","type":"element","children":["QeCsnALNjVgVvOz-9WyPR","d3uQ12zOkSUCCNNoTcoXY","G7W7BCKhBKnBEoYE8rlvU"],"classes":{"upMFL":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2WDbLJ8ERlv4v1O7F6tmy":{"type":"text","value":{"type":"value","value":"\n\n left-btn and right-btn\nUse these to set custom prev/next buttons.\n\ndefault\nUse this slot for the 'slide' component."}},"35p2CL4nyPkzIoCs6LGEH":{"type":"text","value":{"type":"value","value":"Intro"}},"3Z547qTsNMtNigwem9K5U":{"type":"text","value":{"type":"value","value":"The Nord Carousel is an accessible and native-built carousel with no external dependencies!\n\nMain Features:\n- Keyboard navigation\n- Autoplay/slideshow\n- Auto-stop slideshow on mouse hover"}},"5aZSVhVi7MYFMVIBoqRF2":{"tag":"span","type":"element","children":["SxEjgvZlM2X0mW_E7Pr20"],"classes":{"bGMgbW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Cl_Z7ih-pqRFpjdrw0XXX":{"type":"text","value":{"type":"value","value":"carousel"}},"DYO-Tzp_wUiYGzKvB0W_q":{"tag":"h3","type":"element","children":["U0zF0pKkq-eL8kZ37U2dn"],"classes":{"sTigx":{"formula":{"type":"value","value":true}}},"customProperties":{}},"G7W7BCKhBKnBEoYE8rlvU":{"tag":"p","type":"element","children":["hCA9d4heY4V7rKDaCvztg"],"classes":{"buwTCW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KmYy4zr18slQ2LhcKAScv":{"tag":"span","type":"element","children":["TF76YFEYwmjYWxjKlSGTS"],"classes":{"bGMgbW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Mwnd3j72YPUa2P4095X_U":{"type":"text","value":{"type":"value","value":"\n\nREQUIRED:\n\n- slide-count\nType: Number\nSet the number of slides in the carousel.\n\n\nOPTIONAL:\n\n- autoplay\nType: Boolean | Default: False\nSet this to true to enable slideshow/autoplay.\n\n- autoplay-timer-ms\nType: Number | Default: 2500\nSlideshow timer in milliseconds.\n\n- nav-btn-position\nType: Number (Percentage) | Default: 50%\nControls the position of the prev/next buttons.\n\n- hide-nav-buttons\nType: Boolean | Default: False\nSet this to true to hide prev/next buttons.\nSetting this to true automatically enables autoplay.\n\npagination-margin\nDefault: 1rem\nControls the top margin for the pagination dots.\n\n- hide-pagination\nType: Boolean | Default: False\nSet to true to hide pagination dots."}},"PZgAVHkOKcE5QEBg9e1Vn":{"tag":"p","type":"element","children":["3Z547qTsNMtNigwem9K5U"],"classes":{"cdtxKZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"PaJdR4m98kRY3ELujty7b":{"tag":"img","type":"element","attrs":{"alt":{"path":["ListItem","Item","title"],"type":"path"},"src":{"path":["ListItem","Item","img"],"type":"path"},"width":{"type":"value","value":500}},"classes":{"chAOKJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QeCsnALNjVgVvOz-9WyPR":{"tag":"h1","type":"element","children":["mm8biyrAO7ydL76l5AeP-"],"classes":{"euZEyd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Rt-gijAVJhK-NAnA1YroZ":{"tag":"div","type":"element","children":["eu0KbD93wVtJIACji7CXD","PZgAVHkOKcE5QEBg9e1Vn"],"classes":{"dhHbLs":{"formula":{"type":"value","value":true}}},"customProperties":{}},"SJNXaUH9h9RPyDgyIaiOp":{"tag":"h2","type":"element","children":["35p2CL4nyPkzIoCs6LGEH"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"SxEjgvZlM2X0mW_E7Pr20":{"type":"text","value":{"type":"value","value":"ATTRIBUTES"}},"TF76YFEYwmjYWxjKlSGTS":{"type":"text","value":{"type":"value","value":"SLOTS"}},"U0zF0pKkq-eL8kZ37U2dn":{"type":"text","value":{"type":"value","value":"slide\n"}},"U3Jbt8uhgaWQviL2IVeF2":{"tag":"h3","type":"element","children":["Cl_Z7ih-pqRFpjdrw0XXX"],"classes":{"sTigx":{"formula":{"type":"value","value":true}}},"customProperties":{}},"VHM7YazjobQVReh4YB0bJ":{"type":"text","value":{"path":["ListItem","Item","title"],"type":"path"}},"VwwNihy7tfBNZtuxHm7fN":{"tag":"li","type":"element","value":{"type":"value","value":"The main component holds the slot for the slide. It's the main wrapper for all the content. It's divided in three main div's. \n1. A div that contains the left arrow.\n2. A div that contains a slot for your div slide.\n3. A div that contains  the right arrow.\n\nTo install the carousel:\n1. Add carousel-main to a div\n2. Add a carousel-slide to "},"children":["U3Jbt8uhgaWQviL2IVeF2","xu87yQ3IlDqo0C7RupW9d","WszzO1QYVdS0OhKuZwlR8"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"WszzO1QYVdS0OhKuZwlR8":{"tag":"p","type":"element","children":["KmYy4zr18slQ2LhcKAScv","2WDbLJ8ERlv4v1O7F6tmy"],"classes":{"GSRxB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"XsEDgCz5DD_Codh5DC1K8":{"tag":"section","type":"element","children":["SJNXaUH9h9RPyDgyIaiOp","Rt-gijAVJhK-NAnA1YroZ"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Z6tVrHuTv7k0cK4wvaJrt":{"tag":"main","type":"element","children":["XsEDgCz5DD_Codh5DC1K8","bApwukaoaZzimTKDgTCK3","a8o6btiQWSFFv1k3e7zfm"],"classes":{"drWRwT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"a-eAluGYxSihtKtnSnfXW":{"tag":"div","type":"element","children":["2EW9PRR8siWEXO_wjoJFb"],"classes":{"YTJFj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"a8o6btiQWSFFv1k3e7zfm":{"tag":"section","type":"element","children":["fY0u9nig9fhogxMP1U2pA","nnI_HuxK_7Ukkcr5QazQY","yjk89zJT4oIfadXn9cj5B"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bApwukaoaZzimTKDgTCK3":{"tag":"section","type":"element","children":["tUFs8bp48t5KYIt31vLC7","a-eAluGYxSihtKtnSnfXW"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"d3uQ12zOkSUCCNNoTcoXY":{"name":"carousel","type":"component","attrs":{"slide-count":{"type":"value","value":3},"autoplay":{"type":"value","value":true}},"children":["nhk6OG37UDSKTDzmkkaGb"],"customProperties":{}},"dAoO8YoOkBh057Ewxa1Iv":{"type":"text","value":{"type":"value","value":"ATTRIBUTES"}},"eqCwTNLYLPKEyBJ-Cc8TM":{"type":"text","value":{"type":"value","value":"\n\nREQUIRED:\n\n - index\nType: Number\nSet the index of the slide."}},"eu0KbD93wVtJIACji7CXD":{"tag":"h3","type":"element","children":["ixBit01D_lDkm6iH2rHXY"],"classes":{"ezhUD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fY0u9nig9fhogxMP1U2pA":{"tag":"h2","type":"element","children":["wdpWA1zUCQ1brShtAwglS"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hCA9d4heY4V7rKDaCvztg":{"type":"text","value":{"type":"value","value":"Important Note:\nFor now, the carousel component does not have a set height.\n\nPlease assign a height that fits your slide content!"}},"ixBit01D_lDkm6iH2rHXY":{"type":"text","value":{"type":"value","value":"Nord Carousel"}},"jgtVPhHsC_FkZt9t-7upM":{"tag":"div","type":"element","children":["nX9U5SMuDld21gACjARj9","PaJdR4m98kRY3ELujty7b"],"classes":{"ZLwyI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"kaUh9RCl6KHGW6VhjIJBn":{"tag":"li","type":"element","children":["DYO-Tzp_wUiYGzKvB0W_q","-LNMdjpCNR1Sxsbsee2md"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"mCpVmMnnzNpDIaKaiKQEk":{"type":"text","value":{"type":"value","value":"Demo"}},"mm8biyrAO7ydL76l5AeP-":{"type":"text","value":{"type":"value","value":"Landscapes"}},"nX9U5SMuDld21gACjARj9":{"tag":"h3","type":"element","children":["VHM7YazjobQVReh4YB0bJ"],"classes":{"ceSJow":{"formula":{"type":"value","value":true}}},"customProperties":{}},"nhk6OG37UDSKTDzmkkaGb":{"name":"slide","type":"component","attrs":{"index":{"path":["ListItem","Index"],"type":"path"}},"repeat":{"type":"array","arguments":[{"Name":0,"formula":{"type":"object","arguments":[{"Name":0,"name":"title","formula":{"type":"value","value":"Misty Mountains"}},{"Name":0,"name":"img","formula":{"type":"value","value":"https://images.unsplash.com/photo-1746950862786-c13d07b85bff?q=80&w=500&auto=format"}}]}},{"Name":0,"formula":{"type":"object","arguments":[{"Name":0,"name":"title","formula":{"type":"value","value":"Radiant Lake"}},{"Name":0,"name":"img","formula":{"type":"value","value":"https://images.unsplash.com/photo-1735604537449-f79cb29dd9f1?q=80&w=500&auto=format"}}]}},{"Name":0,"formula":{"type":"object","arguments":[{"Name":0,"name":"title","formula":{"type":"value","value":"Snowy Peaks"}},{"Name":0,"name":"img","formula":{"type":"value","value":"https://images.unsplash.com/photo-1738787419606-66fd2e9e8e1d?q=80&w=500&auto=format"}}]}}]},"children":["jgtVPhHsC_FkZt9t-7upM"],"customProperties":{}},"nnI_HuxK_7Ukkcr5QazQY":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["VwwNihy7tfBNZtuxHm7fN"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"slcSWKPpLQAS8a4uazurY":{"tag":"span","type":"element","children":["dAoO8YoOkBh057Ewxa1Iv"],"classes":{"bGMgbW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tUFs8bp48t5KYIt31vLC7":{"tag":"h2","type":"element","children":["mCpVmMnnzNpDIaKaiKQEk"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wdpWA1zUCQ1brShtAwglS":{"type":"text","value":{"type":"value","value":"Components"}},"xu87yQ3IlDqo0C7RupW9d":{"tag":"p","type":"element","children":["5aZSVhVi7MYFMVIBoqRF2","Mwnd3j72YPUa2P4095X_U"],"classes":{"GSRxB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"yjk89zJT4oIfadXn9cj5B":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["kaUh9RCl6KHGW6VhjIJBn"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"info":{"title":{"formula":{"type":"value","value":"Nord Carousel"}},"language":{"formula":{"type":"value","value":"en"}},"description":{"formula":{"type":"value","value":"An accessible and native-built carousel with no external dependencies"}}},"path":[],"query":{}},"onLoad":{"actions":[],"trigger":"load"},"functions":{}},"components":[{"name":"carousel","nodes":{"root":{"tag":"div","type":"element","attrs":{"id":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"nord-carousel-"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","id"],"type":"path"}}],"display_name":"Concatenate","variableArguments":true},"role":{"type":"value","value":"group"},"tabindex":{"type":"value","value":"0"},"aria-live":{"type":"switch","cases":[{"formula":{"type":"value","value":"polite"},"condition":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","autoplay"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":false}}],"display_name":"Default to","variableArguments":true}}],"default":{"type":"value","value":"off"}},"aria-label":{"type":"value","value":"Carousel"},"aria-atomic":{"type":"value","value":false},"aria-roledescription":{"type":"value","value":"carousel"}},"events":{"keydown":{"actions":[{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"MyYyjB","parameters":{"direction":{"formula":{"type":"value","value":"next"}}}}],"condition":{"name":"@toddle/equals","type":"function","label":"Next","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Event","key"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"ArrowRight"}}],"display_name":"Equals"}},{"actions":[{"type":"TriggerWorkflow","workflow":"MyYyjB","parameters":{"direction":{"formula":{"type":"value","value":"prev"}}}}],"condition":{"name":"@toddle/equals","type":"function","label":"Prev","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Event","key"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"ArrowLeft"}}],"display_name":"Equals"}}],"default":{"actions":[]}}],"trigger":"keydown"}},"children":["IAw_qsGxTUD3ZepaQFa-f","PN4-vcQ3Wbw4viCYn8QfY","9zNTh64_VnB8mFQ_kIU1W"],"classes":{"dHWxLV":{"formula":{"type":"value","value":true}}},"customProperties":{}},"0zMFwc4WZ6E2J15dyQH8k":{"tag":"button","type":"element","attrs":{"aria-label":{"type":"value","value":"Previous Slide"}},"events":{"click":{"actions":[{"type":"TriggerWorkflow","workflow":"MyYyjB","parameters":{"direction":{"formula":{"type":"value","value":"prev"}}}}],"trigger":"click"}},"children":["f5H8aJSJlF_wGUp6Ss-Hf"],"customProperties":{}},"3X9tSqMsK-nxpSL5ULCbW":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}},"46GkimZCjcNz8kzXfdjZQ":{"tag":"button","type":"element","attrs":{"role":{"type":"value","value":"tab"},"aria-label":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"slide-"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","currentSlideIndex"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true}}],"display_name":"Concatenate","variableArguments":true},"aria-selected":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["ListItem","Index"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"path":["Variables","currentSlideIndex"],"type":"path"}}],"display_name":"Equals"}},"events":{"click":{"actions":[{"data":{"path":["ListItem","Index"],"type":"path"},"type":"SetVariable","variable":"currentSlideIndex"}],"trigger":"click"}},"repeat":{"name":"@toddle/range","type":"function","arguments":[{"name":"Min","type":{"type":"Number"},"formula":{"type":"value","value":0}},{"name":"Max","type":{"type":"Number"},"formula":{"name":"@toddle/minus","type":"function","arguments":[{"name":"Minuend","type":{"type":"Number"},"formula":{"path":["Attributes","slide-count"],"type":"path"}},{"name":"Substrahend","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Minus"}}],"display_name":"Range"},"classes":{"selected":{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["ListItem","Index"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"path":["Variables","currentSlideIndex"],"type":"path"}}],"display_name":"Equals"}},"eGwjaw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"7bzcxeyfsgTSdK3xRV0xl":{"tag":"button","type":"element","attrs":{"aria-label":{"type":"value","value":"Next Slide"}},"events":{"click":{"actions":[{"type":"TriggerWorkflow","workflow":"MyYyjB","parameters":{"direction":{"formula":{"type":"value","value":"next"}}}}],"trigger":"click"}},"children":["BuKEmLVyZxzx60f4j3szT"],"customProperties":{}},"9zNTh64_VnB8mFQ_kIU1W":{"tag":"div","type":"element","children":["PM2epQq-onvFSXmsHzMfj"],"classes":{"fCnOzu":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Aa_KNgxfLVcg8q_RlR54a":{"tag":"polyline","type":"element","attrs":{"points":{"type":"value","value":"15 6 9 12 15 18"}},"customProperties":{}},"BuKEmLVyZxzx60f4j3szT":{"name":"right-btn","type":"slot","children":["qS_adhSgpnFZIIrY2MYeA"]},"IAw_qsGxTUD3ZepaQFa-f":{"tag":"nav","type":"element","attrs":{"role":{"type":"value","value":"tablist"}},"children":["46GkimZCjcNz8kzXfdjZQ"],"condition":{"name":"@toddle/not","type":"function","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","hide-pagination"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":false}}],"display_name":"Default to","variableArguments":true}}],"display_name":"Not"},"style-variables":[{"name":"margin-top","unit":"","formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","pagination-margin"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"category":"spacing"}],"classes":{"VDQnJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"PM2epQq-onvFSXmsHzMfj":{"type":"slot"},"PN4-vcQ3Wbw4viCYn8QfY":{"tag":"div","type":"element","children":["0zMFwc4WZ6E2J15dyQH8k","7bzcxeyfsgTSdK3xRV0xl"],"condition":{"name":"@toddle/not","type":"function","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","hide-nav-buttons"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":false}}],"display_name":"Default to","variableArguments":true}}],"display_name":"Not"},"style-variables":[{"name":"top","unit":"%","formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","nav-btn-position"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":50}}],"display_name":"Default to","variableArguments":true},"category":"spacing"}],"classes":{"cFKsAg":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Yd6s6O6F0QYQSIy6EzxNJ":{"tag":"polyline","type":"element","attrs":{"points":{"type":"value","value":"15 6 9 12 15 18"}},"customProperties":{}},"biiKMW5Okeevyu516RrsN":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"24"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"24"},"stroke":{"type":"value","value":"currentColor"},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"type":"value","value":"1.5"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["sFlzV_HXSxWhktWWL3TCf","Yd6s6O6F0QYQSIy6EzxNJ"],"customProperties":{}},"f5H8aJSJlF_wGUp6Ss-Hf":{"name":"left-btn","type":"slot","children":["biiKMW5Okeevyu516RrsN"]},"qS_adhSgpnFZIIrY2MYeA":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"24"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"24"},"stroke":{"type":"value","value":"currentColor"},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"type":"value","value":"1.5"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["3X9tSqMsK-nxpSL5ULCbW","Aa_KNgxfLVcg8q_RlR54a"],"classes":{"dbsbHi":{"formula":{"type":"value","value":true}}},"customProperties":{}},"sFlzV_HXSxWhktWWL3TCf":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}}},"onLoad":{"actions":[{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"4_gwT4"}],"condition":{"name":"@toddle/defaultTo","type":"function","label":"Hide nav buttons","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","hide-nav-buttons"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":false}}],"display_name":"Default to","variableArguments":true}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"4_gwT4"}],"condition":{"name":"@toddle/defaultTo","type":"function","label":"Autoplay enabled","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","autoplay"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":false}}],"display_name":"Default to","variableArguments":true}}],"default":{"actions":[]}}]}}],"trigger":"Load"},"exported":true,"formulas":{"Pjalzx":{"name":"carousel","formula":{"type":"object","arguments":[{"Name":0,"name":"slideCount","formula":{"path":["Attributes","slide-count"],"type":"path"}},{"Name":0,"name":"currentSlideIndex","formula":{"path":["Variables","currentSlideIndex"],"type":"path"}}]},"memoize":false,"arguments":[],"exposeInContext":true}},"variables":{"id":{"initialValue":{"name":"@toddle/takeLast","type":"function","arguments":[{"name":"Array","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"}]},"formula":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/randomNumber","type":"function","arguments":[],"display_name":"Random number"}}],"display_name":"String"}},{"name":"Count","type":{"type":"Number"},"formula":{"type":"value","value":6}}],"display_name":"Take last"}},"currentSlideIndex":{"initialValue":{"type":"value","value":0}}},"workflows":{"4_gwT4":{"name":"autoplay","actions":[{"name":"autoplay","events":{"next":{"actions":[{"type":"TriggerWorkflow","workflow":"MyYyjB","parameters":{"direction":{"formula":{"type":"value","value":"next"}}}}],"trigger":"next"}},"version":2,"arguments":[{"name":"interval","formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","autoplay-timer-ms"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":2500}}],"display_name":"Default to","variableArguments":true}},{"name":"carouselId","formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"nord-carousel-"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","id"],"type":"path"}}],"display_name":"Concatenate","variableArguments":true}}]}],"exposeInContext":false,"parameters":[]},"MyYyjB":{"name":"moveSlide","actions":[{"type":"Switch","cases":[{"actions":[{"data":{"name":"@toddle/modulo","type":"function","arguments":[{"name":"Dividend","type":{"type":"Number"},"formula":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","currentSlideIndex"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true}},{"name":"Divider","type":{"type":"Number"},"formula":{"path":["Attributes","slide-count"],"type":"path"}}],"display_name":"Modulo"},"type":"SetVariable","variable":"currentSlideIndex"}],"condition":{"name":"@toddle/equals","type":"function","label":"Next slide","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Parameters","direction"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"next"}}],"display_name":"Equals"}}],"default":{"actions":[{"data":{"name":"@toddle/modulo","type":"function","arguments":[{"name":"Dividend","type":{"type":"Number"},"formula":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"name":"@toddle/minus","type":"function","arguments":[{"name":"Minuend","type":{"type":"Number"},"formula":{"path":["Variables","currentSlideIndex"],"type":"path"}},{"name":"Substrahend","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Minus"}},{"name":"1","type":{"type":"Number"},"formula":{"path":["Attributes","slide-count"],"type":"path"}}],"display_name":"Add","variableArguments":true}},{"name":"Divider","type":{"type":"Number"},"formula":{"path":["Attributes","slide-count"],"type":"path"}}],"display_name":"Modulo"},"type":"SetVariable","variable":"currentSlideIndex"}]}}],"parameters":[{"name":"direction"}],"exposeInContext":false}},"attributes":{"autoplay":{"name":"autoplay"},"slide-count":{"name":"slide-count"},"hide-pagination":{"name":"hide-pagination"},"hide-nav-buttons":{"name":"hide-nav-buttons"},"nav-btn-position":{"name":"nav-btn-position"},"autoplay-timer-ms":{"name":"autoplay-timer-ms"},"pagination-margin":{"name":"pagination-margin"}}},{"name":"slide","nodes":{"root":{"tag":"div","type":"element","attrs":{"role":{"type":"value","value":"tabpanel"},"nord-slide":{"type":"value","value":""},"aria-roledescription":{"type":"value","value":"slide"}},"children":["fVruH-68Cw3FbebukH7pp"],"style-variables":[{"name":"translate","unit":"%","formula":{"name":"@toddle/multiply","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"name":"@toddle/minus","type":"function","arguments":[{"name":"Minuend","type":{"type":"Number"},"formula":{"path":["Attributes","index"],"type":"path"}},{"name":"Substrahend","type":{"type":"Number"},"formula":{"path":["Contexts","carousel","Pjalzx","currentSlideIndex"],"type":"path"}}],"display_name":"Minus"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":100}}],"display_name":"Multiply","variableArguments":true},"category":"spacing"}],"classes":{"exyekJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fVruH-68Cw3FbebukH7pp":{"type":"slot"}},"contexts":{"carousel":{"formulas":["Pjalzx"],"workflows":[],"componentName":"carousel"}},"exported":true,"attributes":{"index":{"name":"index"}}}]}